classdef invParams
    %INVPARAMS Summary of this class goes here
    %   Detailed explanation goes here
    
    properties
        mesh
        activeCells
        
        loc
        
        h0
        Q
        
        disT
        
        
        sigmaModel
        tauModel
        mu = 4*pi*1e-7
    end
    
    properties (Dependent = true)
        ntx
        t
        nt
    end
    
    
    methods
        function ntx = get.ntx(self)
            ntx = size(self.loc,1);
        end
        function t = get.t(self)
            t = [];
            for ii = 1:size(self.disT,1)
                t = [t;self.disT(ii,2)*ones(self.disT(ii,1),1)];
            end
            t = cumsum(t);
        end
        function nt = get.nt(self)
            nt = sum(self.disT(:,1));
        end        
    end
    
end

